package com.aw.guiguzi.module.setting.views

import com.aw.baselib.base.AwBasePresenter
import com.aw.baselib.base.AwBaseView
import com.aw.guiguzi.bean.MsgItemBean

/**
 * @author : hzw
 */
interface MsgListView : AwBaseView {
    interface Presenter : AwBasePresenter {
        fun getMsgList(pageIndex: Int, isfilterUnRead: Boolean)
        fun msgRead(id: String?)
    }

    interface View : AwBaseView {
        fun getMsgListSuccess(total: Int, list: List<MsgItemBean>)
        fun getMsgListFail(code: Int, msg: String?)
        fun msgReadSuccess()
    }
}